package com.jctrip.hotel.management.model.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author：Haruhi
 * @description:
 * @Date：2023/9/25 11:05
 * @Package：com.jctrip.hotel.management.model.param
 * @Project：hotel-main
 */
@Data
public class UpdateXiechengPricePolicyRangeParam {
    @ApiModelProperty("价格政策id")
    private String pricePolicyId;

    @ApiModelProperty("价格政策区间")
    private List<pricePolicyRangeInfo> policyRangeInfoList;

    @Data
    public static class pricePolicyRangeInfo {
        @ApiModelProperty("价格区间最小值")
        private BigDecimal rangePriceMin;

        @ApiModelProperty("价格区间最大值")
        private BigDecimal rangePriceMax;

        @ApiModelProperty("加价率")
        private BigDecimal markupRate;

        @ApiModelProperty("固定加价金额")
        private BigDecimal markupFixed;
    }
}
